/*
package com.wishtree.controller;

import com.wishtree.domain.entity.User;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

*/
/**
 * @Author parkin
 * @Date 2021/11/2 10:28
 * @Version 2.0
 * @Description
 *//*

@RestController
@RequestMapping("/user")
public class UserController {
    */
/**
     * 获取用户信息
     * @param userId
     * @return
     *//*

    @GetMapping("/getUser/{userId}")
    @PreAuthorize("hasAnyAuthority('user:list')")
    public User getUserById(@PathVariable Long userId) {
        User user = new User();
        user.setNickname("小米");
        return user;
    }
}
*/
